package cn.lyh.FoodSystem.Service;

import cn.lyh.FoodSystem.Dto.Result;
import cn.lyh.FoodSystem.Entity.Status;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

public interface StatusService {
    Result addTabStatus(Status status);

    @Transactional(propagation = Propagation.NOT_SUPPORTED )
    Result queryStatus(Status status);
}
